package com.coder.bike.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.coder.bike.entity.Order;
import org.apache.ibatis.annotations.Param;

public interface OrderMapper extends BaseMapper<Order> {
    Page<Order> search(@Param("page") Page<Order> page, @Param("order") Order order);
    Page<Order> searchUnfinished(@Param("page") Page<Order> page, @Param("order") Order order);
    long countViolation(@Param("bikeNum") String bikeNum);

}